package com.job.search.service;

import com.job.client.common.result.ResponseResult;
import com.job.client.model.company.dto.CompanyEsDto;
import com.job.client.model.company.pojo.Company;
import com.job.search.dto.CompanySearchDto;
import com.job.search.dto.PostsSearchDto;

import java.util.List;

public interface SearchCompanyService {
    ResponseResult addCompany(CompanyEsDto company);

    ResponseResult getById(String companyId);

    ResponseResult deleteById(String companyId);

    ResponseResult modifyPartialById (CompanyEsDto company);

    ResponseResult blkAddCompany(List<CompanyEsDto> companyList);

    ResponseResult search(CompanySearchDto dto);

    ResponseResult searchHighlight(CompanySearchDto dto);

    ResponseResult searchQuery(PostsSearchDto dto);
}
